package org.example.mynote.service;

import org.example.mynote.Entity.Note;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import java.util.List;

public interface NoteService {


    Note createNote(Long notebookId, String title, String content);

    Note updateNote(Long id, String title, String content);

    void deleteNote(Long id);

    List<Note> searchNotes(String keyword);

    List<Note> getNotesByNotebook(Long notebookId);
}
